<? session_start();
include "SVsystem/class/remoteFunctions.php";
include("SVsystem/config/dbconfig.php"); ////////setup
include("SVsystem/config/dominio.php");
includeCommonClass("formulario");
includeCommonClass("funciones");
includeWidget("SimpleList.SimpleList");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
	<title><?php echo utf8_encode($datacat2['nombre']); ?></title>
	<link rel="stylesheet" href="estilo.css" type="text/css" media="screen" title="no title" charset="utf-8">
<!--[if IE]> <link href="ie-shit.css" rel="stylesheet" type="text/css"> <![endif]-->

	<script src="/SVscripts/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="/SVscripts/menu-horizontal.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="SVsystem/js/utils.js"></script>
<script type="text/javascript" src="SVsystem/js/ajax.js"></script>
</head>
<body class="interno">
<div id="wrapper">
<?php include ("SVG-barrahorizontal.php")?>

<div id="tapatope"></div>
<div id="contenido">
<div id="izquierda">
<?php include ("SVG-loginbox.php")?>
</div>


<!-- centro -->
<div id="centro">
<div id="nav" >
<a href="javascript:history.back();" title="Volver"><img src="http://www.svcmscentral.com/admin/icon/icon-volver.png" border="0"  alt="volver"/></a>
<a href="index.php" title="Subir"><img src="http://www.svcmscentral.com/admin/icon/icon-subir.png" border="0"  alt="subir"/></a>
<div id="separador"></div>
</div>

<h1><?php echo utf8_encode($datacat2['nombre']); ?></h1>
<p><?php echo utf8_encode($datacat2['descrip']); ?></p>
<div id="separador" style="height:30px;"></div>
<div id="destacados">

<?php
	$catId=$_REQUEST['catid'];
	$nivel=$_REQUEST['nivel'];
	$widget = new simpleList();
	$widget->formatoPresentacion="SVwidgets/SimpleList/formato-articulos-categoria.php";
	$widget->formatoTitulo="SVwidgets/SimpleList/formato-articulos-categoria-titulo.php";
	$widget->formatoSinResultados="SVwidgets/SimpleList/formato-sin-resultados.php";
	$widget->rutaBase = $DOMINIOSV;
	$widget->categoriasEnCategoria($catId, $nivel);
?>
<div id="separador"></div>
</div>
		</div>
<!-- columna derecha aqui -->
		<div id="derecha"></div>
<div id="separador"></div>
	</div>
</div>
<?php include('SVG-footer.php'); ?>
</body>
</html>